using System.ServiceModel;
using System.ServiceModel.Web;
using WpfTwitterClient.Infrastructure.Models;

namespace WpfTwitterClient.Infrastructure.Services
{
    [ServiceContract]
    public interface ITwitterWcfClient
    {
        [OperationContract]
        [WebInvoke(
            UriTemplate = "/statuses/user_timeline.xml?screen_name={username}",
            Method = "GET")]
        Tweets GetHomeTimeline();
    }
}